<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="${pageContext.request.contextPath}/js/jquery-3.5.1.js"></script>
</head>
<body>
    <a href="http://localhost:8080/springmvc_quickstart/user/simpleParam?id=1&username=杰克">请求参数</a>

    <form action="${pageContext.request.contextPath}/user/pojoParam" method="post">
        编号：<input type="text" name="id">
        名字：<input type="text" name="username">
        <input type="submit" value="提交">
    </form>
    <br>
    <form action="${pageContext.request.contextPath}/user/arrayParam" method="post">
        编号:<input type="checkbox" name="id" value="1">1</input>
       <input type="checkbox" name="id" value="2">2</input>
       <input type="checkbox" name="id" value="3">3</input>
       <input type="checkbox" name="id" value="4">4</input>
        <input type="submit" value="提交">
    </form>
    <br>

    <form action="${pageContext.request.contextPath}/user/queryParam" method="post">
        搜索关键字：
        <input type="text" name="keyword"/><br>
        user对象：
        <input type="text" name="user.id" placeholder="编号">
        <input type="text" name="user.username" placeholder="名称">
        <br>
        list集合：
        <input type="text" name="userList[0].id" placeholder="编号">
        <input type="text" name="userList[0].username" placeholder="姓名">
        <br>
        <input type="text" name="userList[1].id" placeholder="编号">
        <input type="text" name="userList[1].username" placeholder="姓名">
        <br>
        map集合：
        <input type="text" name="userMap['u1'].id" placeholder="编号">
        <input type="text" name="userMap['u1'].username" placeholder="姓名">
        <br>
        <input type="text" name="userMap['u2'].id" placeholder="编号">
        <input type="text" name="userMap['u2'].username" placeholder="姓名">
        <br>
        <input type="submit" value="提交">
    </form>


    <form action="${pageContext.request.contextPath}/user/converterParam" method="post">
        生日:<input type="text" name="birthday"/> <br>

        <input type="submit" value="提交">
    </form>


    <a href="${pageContext.request.contextPath}/user/findByPage?pageNo=1">注解</a>
</body>
</html>
